package demo.icanci.annotation;

import java.lang.annotation.Annotation;

/**
 * @author icanci
 * @date Created in 2021/02/05 01:03
 * @version 1.0
 */
public class AnnotationDemo {
    public static void main(String[] args) {
        IcanciCourse icanciCourse = new IcanciCourse();
        icanciCourse.getCourseInfo();
        Class<? extends IcanciCourse> clazz = icanciCourse.getClass();
        Annotation[] annotations = clazz.getAnnotations();
        for (Annotation annotation : annotations) {
            System.out.println(annotation);
        }
    }
}
